package ${packageName}.service;

import ${basePackage}.entity.${entityName};
import ${basePackage}.dto.${entityName}DTO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* 服务实现层接口
* ${author}
* ${now}
*/
public interface ${entityName}Service extends IService<${entityName}> {


    /**
    * 分页条件查询
    */
    ResultDTO<List<${entityName}DTO>> selectListPage(${entityName}PageQueryDTO dto);

    /**
     * 条件查询
     */
    List<${entityName}DTO> selectList(${entityName}DTO dto);

    /**
    * 保存
    */
    ${entityName}DTO save(${entityName}DTO dto);

    /**
     * 逻辑删除
     */
    ${entityName}DTO delete(${entityName}DTO dto);


}